#!/usr/bin/python

from google.appengine.ext import db

class Post(db.Model):

	title = db.StringProperty()
	body = db.TextProperty()
	author = db.UserProperty()
	time = db.DateTimeProperty()
	status = db.StringProperty()

	comment_count = 0

	PUBLISH = "PUBLISH"
	DRAFT = "DRAFT"
